
<div id="article-add">
    <form action="__APP__/Article/update/sid/<{$Think.get.sid}>/cid/<{$Think.get.cid}>/aid/<{$Think.get.aid}>" method="post">
        <input type="hidden" name="id" value="<{$Think.get.aid}>" />
        <table>
            <tr>
                <td>文章名称：</td><td><input type="text" class="text" name="name" value="<{$list['name']}>" /></td><td>描　　述：</td>
            </tr>
            <tr>
                <td>别　　名：</td><td><input type="text" class="text" name="alias" value="<{$list['alias']}>" /></td><td rowspan="3"><textarea name="description" class="desc"><{$list['description']}></textarea></td>
            </tr>
            <tr>
                <td>发　　布：</td><td>
                <if condition="$list['published']" value="1">
                        <input type="radio" checked="checked" name="published" value="1" />是
                        <input type="radio" name="published" value="0" />否<br />
                    <else/>
                        <input type="radio" name="published" value="1" />是
                        <input type="radio" name="published" checked="checked" value="0" />否<br />
                </if>
            </td>
            </tr>
            <tr>
                <td>排　　序：</td><td><input type="text" name="sort" value="<{$list['sort']}>" /></td>
            </tr>
            <tr><td colspan="3"><textarea id="editor_id" name="content"><{$list['content']}></textarea></td></tr>
            <tr><td colspan="3"><input type="submit" class="submit" value="修改文章" /> <a href="__APP__/Article/index/sid/<{$Think.get.sid}>/cid/<{$Think.get.cid}>">返回</a></td></tr>
        </table>
    </form>
</div>
<script charset="utf-8" src="__PUBLIC__/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="__PUBLIC__/kindeditor/lang/zh_CN.js"></script>
<script>


    var editor;
    KindEditor.ready(function(K) {
    editor = K.create('#editor_id');
    allowFileManager : true
    });

    var options = {
    filterMode : true
    };
    var editor = K.create('textarea[name="content"]', options);


</script>